<?php if(!defined('PATH_HD'))exit;
$db->exe("DROP TABLE IF EXISTS `ec_config`");
$db->exe("CREATE TABLE `ec_config` (
  `cid` smallint(5) NOT NULL,
  `title` varchar(45) NOT NULL,
  `name` varchar(45) NOT NULL,
  `value` varchar(45) NOT NULL,
  `message` varchar(100) NOT NULL,
  `ctid` smallint(6) NOT NULL,
  PRIMARY KEY (`cid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8");
$db->exe('REPLACE INTO `ec_config`(`cid`,`title`,`name`,`value`,`message`,`ctid`)VALUES (1,"网站名称","webname","EasyCms1","网站名称",0)');
$db->exe('REPLACE INTO `ec_config`(`cid`,`title`,`name`,`value`,`message`,`ctid`)VALUES (2,"ICP备案","ICP","京ICP备110","ICP备案",0)');
$db->exe('REPLACE INTO `ec_config`(`cid`,`title`,`name`,`value`,`message`,`ctid`)VALUES (3,"站长邮箱","email","baidu@baidu.com","站长邮箱",0)');
$db->exe('REPLACE INTO `ec_config`(`cid`,`title`,`name`,`value`,`message`,`ctid`)VALUES (4,"模板风格","style","default","模板风格",0)');
$db->exe('REPLACE INTO `ec_config`(`cid`,`title`,`name`,`value`,`message`,`ctid`)VALUES (5,"网站开关","flag",1,"网站开关",0)');
$db->exe('REPLACE INTO `ec_config`(`cid`,`title`,`name`,`value`,`message`,`ctid`)VALUES (6,"公司名称","cpname","东信软件公司","",0)');
$db->exe('REPLACE INTO `ec_config`(`cid`,`title`,`name`,`value`,`message`,`ctid`)VALUES (7,"联系电话","tel","电  话：0000-888888","",0)');
$db->exe('REPLACE INTO `ec_config`(`cid`,`title`,`name`,`value`,`message`,`ctid`)VALUES (8,"邮编","yb","邮  编：000000","",0)');
$db->exe('REPLACE INTO `ec_config`(`cid`,`title`,`name`,`value`,`message`,`ctid`)VALUES (9,"email","cpemail","Email：admin@admin.cn","",0)');
$db->exe('REPLACE INTO `ec_config`(`cid`,`title`,`name`,`value`,`message`,`ctid`)VALUES (10,"网址","www","网  址：www.xxxxx.cn","",0)');

?>